package com.rain.query;

import java.util.Date;

/**
 * @auther: rain
 * @description: 系统日志记录表_查询类
 * @date: 2025-10-31
 */
public class LogsQuery extends BaseQuery {

	/**
	 * 主键ID，自增
	 */
	private Long id;

	/**
	 * 关联的用户ID（可为空，如系统日志）
	 */
	private Long userId;

	/**
	 * 操作行为名称，例如：USER_LOGIN, ORDER_CREATE
	 */
	private String action;

	private String actionFuzzy;

	/**
	 * 日志级别：INFO、WARN、ERROR
	 */
	private String level;

	private String levelFuzzy;

	/**
	 * 详细日志信息，如错误描述、操作说明等
	 */
	private String message;

	private String messageFuzzy;

	/**
	 * 附加信息（JSON格式），如请求参数、响应结果等
	 */
	private String additionalData;

	private String additionalDataFuzzy;

	/**
	 * 日志创建时间，默认为当前时间
	 */
	private Date createdAt;

	private String createdAtStart;

	private String createdAtEnd;

	/**
	 * 客户端IP地址（IPv4/IPv6兼容）
	 */
	private String ipAddress;

	private String ipAddressFuzzy;

	public void setId(Long id)  { 
		this.id = id;
	}

	public Long getId( ) { 
		return this.id;
	}

	public void setUserId(Long userId)  { 
		this.userId = userId;
	}

	public Long getUserId( ) { 
		return this.userId;
	}

	public void setAction(String action)  { 
		this.action = action;
	}

	public String getAction( ) { 
		return this.action;
	}

	public void setLevel(String level)  { 
		this.level = level;
	}

	public String getLevel( ) { 
		return this.level;
	}

	public void setMessage(String message)  { 
		this.message = message;
	}

	public String getMessage( ) { 
		return this.message;
	}

	public void setAdditionalData(String additionalData)  { 
		this.additionalData = additionalData;
	}

	public String getAdditionalData( ) { 
		return this.additionalData;
	}

	public void setCreatedAt(Date createdAt)  { 
		this.createdAt = createdAt;
	}

	public Date getCreatedAt( ) { 
		return this.createdAt;
	}

	public void setIpAddress(String ipAddress)  { 
		this.ipAddress = ipAddress;
	}

	public String getIpAddress( ) { 
		return this.ipAddress;
	}

	public void setActionFuzzy(String actionFuzzy)  { 
		this.actionFuzzy = actionFuzzy;
	}

	public String getActionFuzzy( ) { 
		return this.actionFuzzy;
	}

	public void setLevelFuzzy(String levelFuzzy)  { 
		this.levelFuzzy = levelFuzzy;
	}

	public String getLevelFuzzy( ) { 
		return this.levelFuzzy;
	}

	public void setMessageFuzzy(String messageFuzzy)  { 
		this.messageFuzzy = messageFuzzy;
	}

	public String getMessageFuzzy( ) { 
		return this.messageFuzzy;
	}

	public void setAdditionalDataFuzzy(String additionalDataFuzzy)  { 
		this.additionalDataFuzzy = additionalDataFuzzy;
	}

	public String getAdditionalDataFuzzy( ) { 
		return this.additionalDataFuzzy;
	}

	public void setCreatedAtStart(String createdAtStart)  { 
		this.createdAtStart = createdAtStart;
	}

	public String getCreatedAtStart( ) { 
		return this.createdAtStart;
	}

	public void setCreatedAtEnd(String createdAtEnd)  { 
		this.createdAtEnd = createdAtEnd;
	}

	public String getCreatedAtEnd( ) { 
		return this.createdAtEnd;
	}

	public void setIpAddressFuzzy(String ipAddressFuzzy)  { 
		this.ipAddressFuzzy = ipAddressFuzzy;
	}

	public String getIpAddressFuzzy( ) { 
		return this.ipAddressFuzzy;
	}

}